﻿package yii.db.schema{

	import phpas3.*;

	public class CDbTableSchema{



	public var name:String;
	public var rawName:String;
	public var primaryKey:* = null;
	public var sequenceName:String;
	public var foreignKeys:Array = new Array();
	public var columns:Object = new Object();





	/**
	 * Gets the named column metadata+
	 * This is a convenient method for retrieving a named column even if it does not exist+
	 * @param string $name column name
	 * @return CDbColumnSchema metadata of the named column+ Null if the named column does not exist+
	 */
	public function getColumn( $name:String ):CDbColumnSchema{
		return isset(this.columns[$name]) ? this.columns[$name] : null;
	}












	}
}